package edu.ortn.wildbots;

/**
 * The RobotMap is a mapping from the ports sensors and actuators are wired into
 * to a variable name. This provides flexibility changing wiring, makes checking
 * the wiring easier and significantly reduces the number of magic numbers
 * floating around.
 */
public class RobotMap {
    // For example to map the left and right motors, you could define the
    // following variables to use with your drivetrain subsystem.
    // public static final int leftMotor = 1;
    // public static final int rightMotor = 2;
    
    // If you are using multiple modules, make sure to define both the port
    // number and the module. For example you with a rangefinder:
    // public static final int rangefinderPort = 1;
    // public static final int rangefinderModule = 1;
    public static final int LEFT_MOTOR_PORT = 1;
    public static final int RIGHT_MOTOR_PORT = 2;
    public static final int LAUNCHER_MOTOR_PORT = 5;
    
    //public static final int RANGEFINDER_PING_PORT = 1;
    //public static final int RANGEFINDER_ECHO_PORT = 2;
    public static final int TILT_SERVO = 3;
    public static final int PAN_SERVO = 4;
    
    public static final int LEFT_JOY = 1;
    public static final int RIGHT_JOY = 2;
    //public static final int RANGEFINDER_PORT = 1;
    
    public static final int CHAMBER_SENSOR_START = 8;
    public static final int CHAMBER_MOTOR_START = 8; // and 9
    
    public static final int PRESSURE_SWITCH = 6;
    public static final int COMPRESSOR_RELAY = 1;
    public static final int FIRING_RELAY = 3;
    
    public static final int SOLENOID_BALL_OUT = 1;
    public static final int SOLENOID_BALL_IN = 2;
    
    public static final int ENCODER_PORT_A = 4;
    public static final int ENCODER_PORT_B = 5;
    
    public static final String CAM_IP = "10.42.65.11";
    
}
